//
//  HBTool.h
//  HeartBeat
//
//  Created by karong on 2023/8/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HBTool : NSObject
+ (NSString *)fullWebUrl:(NSString *)url;
+ (NSString *)newContent:(NSString *)content;
+ (NSString *)phoneModel;
///1.0.0转为100
+ (NSString *)getVersionCode;
///100转1.0.0
+ (NSString *)getVersion:(NSInteger)version;
+ (NSString *)randomNonce:(NSInteger)length;
+ (NSString *)stringBySha256HashingString:(NSString *)input;
+ (UIColor*)mostColor:(UIImage *)img;
+ (BOOL)isLighterColor:(UIColor *)color;
@end

NS_ASSUME_NONNULL_END
